package cn.iocoder.yudao.module.erp.controller.admin.secaccount.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP 二级库台账分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecAccountPageReqVO extends PageParam {

    @Schema(description = "事务类型")
    private String affairs;

    @Schema(description = "出入库单号", example = "14156")
    private String affairsId;

    @Schema(description = "部门编号", example = "14156")
    private Long deptId;

    @Schema(description = "来源单位id", example = "14156")
    private Long fromDeptId;

    @Schema(description = "去向单位id", example = "14156")
    private Long toDeptId;

    @Schema(description = "产品编号", example = "4530")
    private Long productId;

    @Schema(description = "产品单位")
    private Long productUnit;

    @Schema(description = "产品名称")
    private String productName;

    @Schema(description = "产品分类编号", example = "24552")
    private Long productCategoryId;

    @Schema(description = "产品分类名称")
    private String productCategoryName;

    @Schema(description = "产品单位编号", example = "24552")
    private Long productUnitId;

    @Schema(description = "产品单位名称")
    private String productUnitName;

    @Schema(description = "产品规格")
    private String productStandards;

    @Schema(description = "销售价格", example = "30278")
    private BigDecimal productPrice;

    @Schema(description = "采购价格", example = "30278")
    private BigDecimal productPurchasePrice;

    @Schema(description = "产品批次")
    private String productBatch;

    @Schema(description = "入库批次")
    private String inboundBatch;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] productValidityDate;

    @Schema(description = "数量", example = "31289")
    private BigDecimal count;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "10663")
    private String processInstanceId;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}